#!/usr/bin/python3
# -*- coding: utf-8 -*-

import allure
from playwright.sync_api import Page
from models.base_page import BasePage


class VxnetDetailPage(BasePage):
    def __init__(self, page: Page):
        super().__init__(page)
        self.route = "/vxnets/"

    @allure.step("点击详情页-基本属性扩展按钮")
    def click_detail_page_expand_button(self) -> None:
        """
        点击详情页-基本属性扩展按钮
        :return:
        """
        self.locator(".dropdown-toggle").first.click()